luci-mod-network: add bridge interface migration
authorRafał Miłecki <[email protected]>
Tue, 18 May 2021 18:09:58 +0000 (20:09 +0200)
committerRafał Miłecki <[email protected]>
Thu, 27 May 2021 10:19:08 +0000 (12:19 +0200)
commit5356e3fa25225c0b935b23d82b82e4bf75248645
treecccf60b4f34c87b192bf03193d851fa3592abe89
parent660156e16665fb5d06454aeacb1303b14e235a96
luci-mod-network: add bridge interface migration

LuCI now supports the updated UCI syntax for bridges that requires:
1. device section for L2
2. interface section for L3

Check for legacy syntax usage and offser user a migration to allow
changing network config.

Signed-off-by: Rafał Miłecki <[email protected]>
(cherry picked from commit bca76a767316a689d59dfd4974dcb7bfb04db1e8)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js